package com.neusoft.nep.NEPG;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class Initialize extends Application {

    @Override
    public void start(Stage stage) throws Exception {
        //get login view
        FXMLLoader fxmlLoader = new FXMLLoader();
        fxmlLoader.setLocation(getClass().getResource("/com/neusoft/nep/NEPG/view/LoginView.fxml"));
        Parent root = fxmlLoader.load();
        Scene scene = new Scene(root);
        //set login stage
        Stage loginStage = new Stage();
        loginStage.setScene(scene);
        //show login stage
        loginStage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}
